package com.qf.agro.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author 10202
 * @version V1.0
 * @Project smart-agriculture-parent
 * @Package com.qf.agro.pojo
 * @Date 2023/7/5 20:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("sa_agro_smartdevice_static")
@ApiModel("智能设备操作日志")
public class SmartDeviceStatic {

    private Long smartdeviceId;

    private Long pointId;

    private Long deviceId;

    private String type;

    private String resultCode;

    private Long companyId;

    private String companyName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date  createTime;
}
